package com.cloud.util.jsTree;

import java.util.List;

/**
 * jsTree JSON类
 * @author gaof
 * @date 2016年9月5日
 */
public class JsTreeJson {

	private String id;//页面id标识，如果省略会自动生成
	
	private String text;//内容
	
	private String icon;//图标
	
	private JsTreeState state;//状态
	
	private List<JsTreeJson> children;//下级节点
	
	private Object li_attr;//li标签额外参数
	
	private Object a_attr;//a标签额外参数
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public JsTreeState getState() {
		return state;
	}

	public void setState(JsTreeState state) {
		this.state = state;
	}

	public List<JsTreeJson> getChildren() {
		return children;
	}

	public void setChildren(List<JsTreeJson> children) {
		this.children = children;
	}

	public Object getLi_attr() {
		return li_attr;
	}

	public void setLi_attr(Object li_attr) {
		this.li_attr = li_attr;
	}

	public Object getA_attr() {
		return a_attr;
	}

	public void setA_attr(Object a_attr) {
		this.a_attr = a_attr;
	}

}
